CFLAGS := -static
CFLAGS += -Wl,-z,relro,-z,now
CFLAGS += -Wl,-z,noexecstack
CFLAGS += -fPIE
CFLAGS += -fstack-protector-strong
CFLAGS += -s

CC := gcc
OBJS := init
objects = qtinit.o

$(OBJS): $(objects)
	$(CC) $(CFLAGS) -o $@ $(objects)

CLEANFILES := $(objects) $(OBJS)

clean:
	rm -f ${CLEANFILES}
